How Do You Find the Derivative of This Function?

  • Context: MHB 
  • Thread starter Thread starter riri
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary
SUMMARY

The discussion focuses on finding the derivative of the function $$f(x)=\frac{x\cos(x)+\sqrt{x}}{x+\sin(x)}$$ using the quotient rule and product rule in differential calculus. Participants emphasize the importance of correctly applying these rules and avoiding common mistakes, such as the "Freshman's Dream" error in expanding squares. The correct derivative is derived step-by-step, highlighting the differentiation of both the numerator and denominator, ultimately leading to a simplified expression.

PREREQUISITES
  • Understanding of differential calculus concepts, specifically the quotient rule and product rule.
  • Familiarity with trigonometric functions and their derivatives.
  • Knowledge of basic algebraic manipulation and simplification techniques.
  • Proficiency in using LaTeX for mathematical expressions.
NEXT STEPS
  • Practice applying the quotient rule on various rational functions.
  • Study the product rule in detail and its applications in calculus.
  • Learn about common differentiation errors and how to avoid them.
  • Explore advanced topics in calculus, such as implicit differentiation and higher-order derivatives.
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus, as well as anyone looking to improve their skills in differentiation and algebraic manipulation.

riri
Messages
28
Reaction score
0
Hello, I am having trouble finding the derivative of this function. Any help would be appreciated!

$$\frac{x\cos(x)+\sqrt{x}}{x+\sin(x)}$$

What I tried was expanding it first to like $$(x+\sin(x)(x\cos(x)+\sqrt{x})'-(x\cos(x)+\sqrt{x}$$
But I ended up with a long weird answer and doesn't seem to work!

Can anyone give ideas for this?
 
Physics news on Phys.org
Hello, riri! :D

I have moved this thread here to our Calculus forum. While the problem does involve trigonometric functions, it is primarily a problem in differential calculus.

Also, I have edited your post to wrap your $\LaTeX$ code in $$$$ tags.

We are given:

$$f(x)=\frac{x\cos(x)+\sqrt{x}}{x+\sin(x)}$$

We have a quotient, so I would suggest applying the quotient rule to get:

$$f'(x)=\frac{\left(x+\sin(x)\right)\left(x\cos(x)+\sqrt{x}\right)^{\prime}-\left(x\cos(x)+\sqrt{x}\right)\left(x+\sin(x)\right)^{\prime}}{\left(x+\sin(x)\right)^2}$$

Can you continue?
 
Hi Mark! :D
Thank you, as you can see I'm still pretty new to this website but love it so much!

Yup, so I did use the quotient rule and got up to that part, it's just that I'm stuck on what to do after like:

$$\frac{x+\sin(x)(1(-\sin(x))+{x}^{\frac{-1}{2}}-(x\cos(x)+\sqrt{x}(1+\cos(x)}{x^2+\sin(x)^2}$$

I feel the direction I'm going in is wrong because I got a really long equation thing and it's stuck there... I'm hoping there's a simple way to solve this though!

Thank you!
 
Let's first look at the numerator:

$$\left(x+\sin(x)\right)\left(x\cos(x)+\sqrt{x}\right)^{\prime}-\left(x\cos(x)+\sqrt{x}\right)\left(x+\sin(x)\right)^{\prime}$$

Now, let's look at the parts still left to differentiate, beginning with:

$$\left(x\cos(x)+\sqrt{x}\right)^{\prime}$$

For the first term, we will need to use the product rule:

$$\frac{d}{dx}\left(x\cos(x)\right)=x(-\sin(x))+1(\cos(x))=\cos(x)-x\sin(x)$$

And for the second term, we need the power rule:

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

Putting this together, we may write:

$$\left(x\cos(x)+\sqrt{x}\right)^{\prime}=\cos(x)-x\sin(x)+\frac{1}{2\sqrt{x}}$$

The other part still left to differentiate is:

$$\left(x+\sin(x)\right)^{\prime}=\frac{d}{dx}\left(x+\sin(x)\right)=1+\cos(x)$$

And so the numerator then becomes:

$$\left(x+\sin(x)\right)\left(\cos(x)-x\sin(x)+\frac{1}{2\sqrt{x}}\right)-\left(x\cos(x)+\sqrt{x}\right)\left(1+\cos(x)\right)$$

You could multiply everything out and see if you can combine terms and use trig. identities to simplify.

For the denominator, you have committed an error so commonly made, it has a special name, which is "The Freshman's Dream." You have stated essentially:

$$(a+b)^2=a^2+b^2$$

This is not true in general, what you want, if you are going to expand it, is:

$$(a+b)^2=a^2+2ab+b^2$$
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K