기본 콘텐츠로 건너뛰기

벡터와 행렬에 관련된 그림들

[Math Classic]Calculus Made Easy CH. 4

CHAPTER IV.

SIMPLEST CASES.

Now let us see how, on first principles, we can differentiate some simple algebraical expression.

Case 1.

Let us begin with the simple expression $y = x^2$. Now remember that the fundamental notion about the calculus is the idea of growing. Mathematicians call it varying. Now as $y$ and $x^2$ are equal to one another, it is clear that if $x$ grows, $x^2$ will also grow. And if $x^2$ grows, then $y$ will also grow. What we have got to find out is the proportion between the growing of $y$ and the growing of $x$. In other words our task is to find out the ratio between $dy$ and $dx$, or, in brief, to find the value of $\frac{dy}{dx}$.
Let $x$, then, grow a little bit bigger and become $x + dx$; similarly, $y$ will grow a bit bigger and will become $y+dy$. Then, clearly, it will still be true that the enlarged $y$ will be equal to the square of the enlarged $x$.
Writing this down, we have: $y+dy=(x+dx)^2$
Doing the squaring we get:
$$y+dy =x^2+2x·dx+(dx)^2.$$
What does $(dx)^2$ mean? Remember that $dx$ meant a bit—a little bit—of $x$. Then $(dx)^2$ will mean a little bit of a little bit of $x$; that is, as explained above (See CH. 2), it is a small quantity of the second order of smallness. It may therefore be discarded as quite inconsiderable in comparison with the other terms. Leaving it out, we then have:
$$y+dy =x^2+2x·dx.$$
Now $y = x^2$ ; so let us subtract this from the equation and we have left
$$dy =2x·dx.$$
Dividing across by $dx$, we find
$$\frac{dy}{dx}=2x.$$
Now this[1] is what we set out to find. The ratio of the growing of $y$ to the growing of $x$ is, in the case before us, found to be $2x$.

Numerical example.

Suppose $x = 100$ and $y = 10, 000$. Then let $x$ grow till it becomes 101 (that is, let $dx = 1$). Then the enlarged y will be 101 × 101 = 10, 201. But if we agree that we may ignore small quantities of the second order, 1 may be rejected as compared with 10, 000; so we may round off the enlarged $y$ to 10, 200. $y$ has grown from 10, 000 to 10, 200; the bit added on is $dy$, which is therefore 200.
$$\frac{dy}{dx}=\frac{200}{1}=200$$
According to the algebra-working of the previous aragraph, we find $\frac{dy}{dx}=2x$. And so it is; for $x = 100$ and $2x = 200$.
But, you will say, we neglected a whole unit.
Well, try again, making dx a still smaller bit.
Try $dx = \frac{1}{10}$. Then $x + dx = 100.1$, and
$$(x +dx)^2 = 100.1 × 100.1 = 10,020.01.$$
Now the last figure 1 is only one-millionth part of the 10, 000, and is utterly negligible; so we may take 10, 020 without the little decimal at the end. And this makes $dy=20$; and $\frac{dy}{dx}=\frac{20}{0.1}=200$, which is still the same as $2x$

Case 2.

Try differentiating y = x 3 in the same way.
We let y grow to $y + dy$, while $x$ grows to $x + dx$.
Then we have
$$y+dy=(x+dx)^3.$$
Doing the cubing we obtain
$$y + dy = x^3 + 3x^2·dx + 3x(dx)^2 + (dx)^3.$$
Now we know that we may neglect small quantities of the second and third orders; since, when dy and dx are both made indefinitely small, $(dx)^2$ and $(dx)^3$ will become indefinitely smaller by comparison. So, regarding them as negligible, we have left:
$$y+dy =x^3+3x^3 \cdot dx.$$
But $y = x^3$ ; and, subtracting this, we have:
$$dy=3x^2 \cdot dx,$$ $$\text{and} \qquad \frac{dy}{dx}=3x^2.$$

Case3.

Try differentiating $y = x^4$. Starting as before by letting both $y$ and $x$ grow a bit, we have:
$$y + dy = (x + dx)^4.$$
Working out the raising to the fourth power, we get
$$y + dy = x^4 + 4x^3 dx + 6x^2(dx)^2 + 4x(dx)^3 + (dx)^4.$$
Then striking out the terms containing all the higher powers of dx, as being negligible by comparison, we have
$$y + dy = x^4 + 4x^3dx.$$
Subtracting the original $y = x^4$ , we have left
$$dy=4x^3dx,$$ $$\text{and} \qquad \frac{dy}{dx}=4x^3.$$

SIMPLEST CASEs

Now all these cases are quite easy. Let us collect the results to see if we can infer any general rule. Put them in two columns, the values of $y$ in one and the corresponding values found for $\frac{dy}{dx}$ in the other: thus
y $\frac{dy}{dx}$
x2 2x
x3 3x2
x4 4x3
Just look at these results: the operation of differentiating appears to have had the effect of diminishing the power of $x$ by 1 (for example in the last case reducing $x^4$ to $x^3$ ), and at the same time multiplying by a number (the same number in fact which originally appeared as the power). Now, when you have once seen this, you might easily conjecture how the others will run. You would expect that differentiating x5 would give $5x^4$ , or differentiating $x^6$ would give $6x^5$ . If you hesitate, try one of these, and see whether the conjecture comes right.
Try $y = x^5$.
$$ \text{Then} \qquad y + dy = (x + dx)^5 $$ $$\qquad = x^5 + 5x^4 dx + 10x^3 (dx)^2 + 10x^2 (dx)^3 + 5x(dx)^4 + (dx)^5.$$
Neglecting all the terms containing small quantities of the higher orders, we have left
$$y + dy = x^5 + 5x^4 dx,$$
and subtracting $y=x^5$ leaves us
$$dy =5x^4 dx,$$
whence $\frac{dy}{dx}=5x^4$, exactly as we supposed.
Following out logically our observation, we should conclude that if we want to deal with any higher power,—call it n—we could tackle it in the same way.
Let $y = x^n$, then, we should expect to find that
$$\frac{dy}{dx} = nx^{n−1}.$$
For example, let $n = 8$, then $y = x^8$ ; and differentiating it would give $\frac{dy}{dx}= 8x^7$.
And, indeed, the rule that differentiating $x^n$ gives as the result $nx^{n−1}$ is true for all cases where $n$ is a whole number and positive. [Expanding $(x + dx)^n$ by the binomial theorem will at once show this.] But the question whether it is true for cases where $n$ has negative or fractional values requires further consideration.

Case of a negative power.

Let $y = x^{−2}$. Then proceed as before:
$$y + dy = (x + dx)^{−2}$$ $$\qquad =x^{-2}\left(1+\frac{dx}{x} \right)^{-2}$$
Expanding this by the binomial theorem (see p. 137 in ch14), we get
$$=x^{-2}\left[1-\frac{2dx}{x}+\frac{2(2+1)}{1 \times 2}\left(\frac{dx}{x}\right)^2-\text{etc}\right]$$ $$=x^{-2}-2x^{-3}\cdot dx+3x^{-4}(dx)^2-4x^{-5}(dx)^3+\text{etc}.$$
So, neglecting the small quantities of higher orders of smallness, we have:
$$y+dy=x^{-2}-2x^{-3}\cdot dx.$$
Subtracting the original y = x −2 , we find
$$dy = −2x^{−3}dx,$$ $$\frac{dy}{dx}=-2x^{-3}.$$
And this is still in accordance with the rule inferred above.

Case of a fractional power.

Let $y = x^{\frac{1}{2}}. Then, as before,
$$y + dy = (x + dx)^{\frac{1}{2}}$$ $$\qquad =x^{\frac{1}{2}}\left(1+\frac{dx}{x}\right)^{\frac{1}{2}}$$ $$\qquad =\sqrt{x}+\frac{1}{2}\frac{dx}{\sqrt{x}}-{\frac{1}{8}\frac{(dx)^2}{x\sqrt{x}}}+\;terms\; with\; higher\; powers\; of\; dx.$$
Subtracting the original y = x^{\frac{1}{2}}, and neglecting higher powers we have left:
$$dy=\frac{1}{2}\frac{dx}{\sqrt{x}}=\frac{1}{2}x^{-\frac{1}{2}}\cdot dx$$
and $\frac{dy}{dx}=\frac{1}{2}x^{-\frac{1}{2}}$. Agreeing with the general rule.

Summary

Let us see how far we have got. We have arrived at the and following rule: To differentiate $x^n$ , multiply by the power and reduce the power by one, so giving us $nx^{n−1}$ as the result.
Exercise I.

(See Answers.) Differentiate the following:
$$\text{(1)}\quad y = x^{13}$$ $$\text{(2)}\quad y = x^{-\frac{3}{2}}$$ $$\text{(3)}\quad y = x^{2a} $$ $$\text{(4)}\quad u = t^{2.4}$$ $$\text{(5)}\quad z=\sqrt[3]{u}$$ $$\text{(6)} \quad y=\sqrt[3]{x^{-3}} $$ $$\text{(7)} \quad u=\sqrt[5]{\frac{1}{x^8}} $$ $$\text{(8)}\quad y=2x^a$$ $$\text{(9)}\quad y=\sqrt[q]{x^3} $$ $$\text{(10)}\quad y=\sqrt[n]{\frac{1}{x^m}}$$
clasYou have now learned how to differentiate powers of x. How easy it is!



[1] N.B.—This ratio $\frac{dy}{dx}$is the result of differentiating y with respect to x. Differentiating means finding the differential coefficient. Suppose we had some other function of $x$, as, for example, $u=7x^2+3$. Then if we were told to differentiate this with respect to x, we should have to find $\frac{du}{dx}$, or, what is the same thing, $\frac{d(7x2+3)}{dx}$. On the other hand, we may have a case in which time was the independent variable (see independent variable), such as this: $y = b + \frac{1}{2}at^2$. Then, if we were told to differentiate it, that means we must find its differential coefficient with respect to $t$. So that then our business would be to try to find $\frac{dy}{dt}$, that is, to find $\frac{d(b+\frac{1}{2}at^2)}{dt}$.

댓글

이 블로그의 인기 게시물

[Linear Algebra] 유사변환(Similarity transformation)

유사변환(Similarity transformation) n×n 차원의 정방 행렬 A, B 그리고 가역 행렬 P 사이에 식 1의 관계가 성립하면 행렬 A와 B는 유사행렬(similarity matrix)이 되며 행렬 A를 가역행렬 P와 B로 분해하는 것을 유사 변환(similarity transformation) 이라고 합니다. $$\tag{1} A = PBP^{-1} \Leftrightarrow P^{-1}AP = B $$ 식 2는 식 1의 양변에 B의 고유값을 고려한 것입니다. \begin{align}\tag{식 2} B - \lambda I &= P^{-1}AP – \lambda P^{-1}P\\ &= P^{-1}(AP – \lambda P)\\ &= P^{-1}(A - \lambda I)P \end{align} 식 2의 행렬식은 식 3과 같이 정리됩니다. \begin{align} &\begin{aligned}\textsf{det}(B - \lambda I ) & = \textsf{det}(P^{-1}(AP – \lambda P))\\ &= \textsf{det}(P^{-1}) \textsf{det}((A – \lambda I)) \textsf{det}(P)\\ &= \textsf{det}(P^{-1}) \textsf{det}(P) \textsf{det}((A – \lambda I))\\ &= \textsf{det}(A – \lambda I)\end{aligned}\\ &\begin{aligned}\because \; \textsf{det}(P^{-1}) \textsf{det}(P) &= \textsf{det}(P^{-1}P)\\ &= \textsf{det}(I)\end{aligned}\end{align} 유사행렬의 특성 유사행렬인 두 정방행렬 A와 B는 'A ~ B' 와 같...

[sympy] Sympy객체의 표현을 위한 함수들

Sympy객체의 표현을 위한 함수들 General simplify(x): 식 x(sympy 객체)를 간단히 정리 합니다. import numpy as np from sympy import * x=symbols("x") a=sin(x)**2+cos(x)**2 a $\sin^{2}{\left(x \right)} + \cos^{2}{\left(x \right)}$ simplify(a) 1 simplify(b) $\frac{x^{3} + x^{2} - x - 1}{x^{2} + 2 x + 1}$ simplify(b) x - 1 c=gamma(x)/gamma(x-2) c $\frac{\Gamma\left(x\right)}{\Gamma\left(x - 2\right)}$ simplify(c) $\displaystyle \left(x - 2\right) \left(x - 1\right)$ 위의 예들 중 객체 c의 감마함수(gamma(x))는 확률분포 등 여러 부분에서 사용되는 표현식으로 다음과 같이 정의 됩니다. 감마함수는 음이 아닌 정수를 제외한 모든 수에서 정의됩니다. 식 1과 같이 자연수에서 감마함수는 factorial(!), 부동소수(양의 실수)인 경우 적분을 적용하여 계산합니다. $$\tag{식 1}\Gamma(n) =\begin{cases}(n-1)!& n:\text{자연수}\\\int^\infty_0x^{n-1}e^{-x}\,dx& n:\text{부동소수}\end{cases}$$ x=symbols('x') gamma(x).subs(x,4) $\displaystyle 6$ factorial 계산은 math.factorial() 함수를 사용할 수 있습니다. import math math.factorial(3) 6 a=gamma(x).subs(x,4.5) a.evalf(3) 11.6 simpilfy() 함수의 알고리즘은 식에서 공통사항을 찾아 정리하...

sympy.solvers로 방정식해 구하기

sympy.solvers로 방정식해 구하기 대수 방정식을 해를 계산하기 위해 다음 함수를 사용합니다. sympy.solvers.solve(f, *symbols, **flags) f=0, 즉 동차방정식에 대해 지정한 변수의 해를 계산 f : 식 또는 함수 symbols: 식의 해를 계산하기 위한 변수, 변수가 하나인 경우는 생략가능(자동으로 인식) flags: 계산 또는 결과의 방식을 지정하기 위한 인수들 dict=True: {x:3, y:1}같이 사전형식, 기본값 = False set=True :{(x,3),(y,1)}같이 집합형식, 기본값 = False ratioal=True : 실수를 유리수로 반환, 기본값 = False positive=True: 해들 중에 양수만을 반환, 기본값 = False 예 $x^2=1$의 해를 결정합니다. solve() 함수에 적용하기 위해서는 다음과 같이 식의 한쪽이 0이 되는 형태인 동차식으로 구성되어야 합니다. $$x^2-1=0$$ import numpy as np from sympy import * x = symbols('x') solve(x**2-1, x) [-1, 1] 위 식은 계산 과정은 다음과 같습니다. $$\begin{aligned}x^2-1=0 \rightarrow (x+1)(x-1)=0 \\ x=1 \; \text{or}\; -1\end{aligned}$$ 예 $x^4=1$의 해를 결정합니다. solve() 함수의 인수 set=True를 지정하였으므로 결과는 집합(set)형으로 반환됩니다. eq=x**4-1 solve(eq, set=True) ([x], {(-1,), (-I,), (1,), (I,)}) 위의 경우 I는 복소수입니다.즉 위 결과의 과정은 다음과 같습니다. $$x^4-1=(x^2+1)(x+1)(x-1)=0 \rightarrow x=\pm \sqrt{-1}, \; \pm 1=\pm i,\; \pm1$$ 실수...