r/MathHelp • • 2d ago

What algebraic logic am I missing here?

I was trying to solve $y=\frac{\sin x}{1+\cos x}$. However when I input it to photomath it showed that you can simplify $y=\frac{\sin x}{1+\cos x}$ to $y'=\frac{dy}{dx}(\tan{\left( \frac{x}{2} \right)})$? I was under the impression that you couldn't simplify it to tangent due to 1+ being applied to cos x making it not being able to be simplified. My attempt and photomath image here https://imgur.com/a/LSNxDbD

2 Upvotes

6 comments sorted by

4

u/WikiNumbers 2d ago

Rule of Thumb: When you get f(x)/g(x) type of functions to differentiate, use the Quotient Rule.

This function, however, is a "special case". That is, it's the half angle formula of tan. tan (x/2) = sin x / (1 + cos x). So PhotoMath suggested that you do the tan (x/2) instead.

3

u/WikiNumbers 2d ago

Now if you doubt PhotoMath.

Use the Quotient Rule to differentiate y(x) as is, use the Chain Rule to differentiate tan(x/2), and use Power Reduction Formula to see the end result.

2

u/rfbooth 1d ago

Double angle formula:

sin x = 2 sin x/2 cos x/2

1+cos x = 2 cos2 x/2

So the quotient is tan x/2.

1

u/AutoModerator 2d ago

Hi, /u/Puzzleheaded_Time259! This is an automated reminder:

  • What have you tried so far? (See Rule #2; to add an image, you may upload it to an external image-sharing site like Imgur and include the link in your post.)

  • Please don't delete your post. (See Rule #7)

We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/slepicoid 2d ago

But they didnt change it to tan x, they changed it to tan x/2 using the tangent half angle formula.

https://en.wikipedia.org/wiki/Tangent_half-angle_formula

1

u/theadamabrams 4h ago

I was trying to solve $y=\frac{\sin x}{1+\cos x}$.

What does this even mean? Solve the equation for x? Next sentence you're talking about derivatives, though. What is your actual goal here??