MHB Gan's questions at Yahoo Answers regarding differentiation

  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Differentiation
AI Thread Summary
The discussion focuses on differentiating two equations: y^x and x^y = sin(x). For y^x, the differentiation process involves using logarithmic properties and results in the expression d/dx(y^x) = y^x(x/y + ln(y)). For x^y = sin(x), implicit differentiation leads to dy/dx = (x cot(x) - y) / (x ln(x)). Additionally, given the equation x^n + y^n = 1, the second derivative d^2y/dx^2 is derived, ultimately simplifying to d^2y/dx^2 = -(n-1)x^(n-2)/y^(2n-1). The thread effectively addresses the differentiation techniques and the application of implicit differentiation.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here are the questions:

Differentiate the following equation with respect to x. (a) y^x (b)x^y= sin x?


Differentiate the following equation with respect to x. (a) y^x (b)x^y= sin x?
given that x^n + y^n = 1, show that d2y/dx2 = -(n-1)x^(n-2)/ y^(2n-1)

I have posted a link there to this thread so the OP can see my work.
 
Mathematics news on Phys.org
Hello Gan,

1.) Differentiate the following with respect to $x$:

a) $$y^x$$

We could use the identity $$u=a^{\log_a(u)}$$ to write:

$$y^x=e^{\ln\left(y^x \right)}$$

Next, we may use the logarithmic property $$\log_a\left(b^c \right)=c\cdot\log_a(b)$$ to obtain:

$$y^x=e^{x\cdot\ln\left(y \right)}$$

Now we may differentiate, using the rule for the exponential function and the chain, product and logarithmic rules:

$$\frac{d}{dx}\left(y^x \right)=e^{x\cdot\ln\left(y \right)}\left(\frac{x}{y}+\ln(y) \right)$$

Since $$y^x=e^{x\cdot\ln\left(y \right)}$$, we may now write:

$$\frac{d}{dx}\left(y^x \right)=y^x\left(\frac{x}{y}+\ln(y) \right)$$

Another method we could use is to write:

$$u=y^x$$

Take the natural log of both sides:

$$\ln(u)=\ln\left(y^x \right)=x\cdot\ln(y)$$

Implicitly differentiate with resepct to $x$:

$$\frac{1}{u}\frac{du}{dx}=\frac{x}{y}+\ln(y)$$

Multiply through by $u$:

$$\frac{du}{dx}=u\left(\frac{x}{y}+\ln(y) \right)$$

Replace $u$ with $y^x$:

$$\frac{d}{dx}\left(y^x \right)=y^x\left(\frac{x}{y}+\ln(y) \right)$$

b) $$x^y=\sin(x)$$

Take the natural log of both sides:

$$y\ln(x)=\ln\left(\sin(x) \right)$$

Implicitly differentiate with respect to $x$:

$$\frac{y}{x}+\frac{dy}{dx}\ln(x)=\cot(x)$$

Solve for $$\frac{dy}{dx}$$ to get:

$$\frac{dy}{dx}=\frac{x\cot(x)-y}{x\ln(x)}$$

2.) We are given $x^n+y^n=1$ and asked to find $$\frac{d^2y}{dx^2}$$.

Implicitly differentiating the given equation with respect to $x$, we find:

$$nx^{n-1}+ny^{n-1}\frac{dy}{dx}=0$$

Solving for $$\frac{dy}{dx}$$, we obtain:

$$\frac{dy}{dx}=-\frac{x^{n-1}}{y^{n-1}}$$

Differentiating again, we obtain:

$$\frac{d^2y}{dx^2}=-\frac{y^{n-1}\left((n-1)x^{n-2} \right)-x^{n-1}\left((n-1)y^{n-2}\dfrac{dy}{dx} \right)}{\left(y^{n-1} \right)^2}$$

Factoring the numerator and using $$\frac{dy}{dx}=-\frac{x^{n-1}}{y^{n-1}}$$, we obtain:

$$\frac{d^2y}{dx^2}=-\frac{(n-1)x^{n-2}y^{n-2}\left(y-x\left(-\dfrac{x^{n-1}}{y^{n-1}} \right) \right)}{y^{2n-2}}$$

Combining terms in the rightmost factor in the numerator, we find:

$$\frac{d^2y}{dx^2}=-\frac{(n-1)x^{n-2}y^{n-2}\dfrac{x^{n}+y^n}{y^{n-1}}}{y^{2n-2}}$$

Using $$x^n+y^n=1$$ and $$\frac{y^{n-2}}{y^{n-1}}=\frac{1}{y}$$ we may write:

$$\frac{d^2y}{dx^2}=-\frac{(n-1)x^{n-2}}{y^{2n-1}}$$

Shown as desired.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top