The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
151 views

asked in Mathematical Logic by Loyal (8.3k points)
retagged by | 151 views
+1
Iam getting Max = $\frac{9}{8}$ and min = $0$
0
maximum match but minimum doesn't match the answer which has been given

max=1.125    //9/8=1.125

min = -2
0
how did u get max?
+1
Yes, it has to be $-2$, i calculated min at $x=2\pi$, which is wrong.
Wait a minute. Writing answer!

1 Answer

+5 votes
Best answer

$\color{olive}{f(x) = \sin(x) + \cos(2x)}$

$\color{olive}{f'(x) = \cos(x) - 2\sin(2x)}$

$\color{olive}{f'(x) = \cos(x) - 4\sin(x)\cos(x)}$

$\color{olive}{f'(x) = \cos(x)(1-  4\sin(x))}$

For minima and maxima, $f'(x) = 0$

$f'(x) = \cos(x)(1-  4\sin(x)) = 0$

$\cos(x) = 0$ (or) $1 - 4\sin(x) = 0$

$x = \frac{\pi}{2},\frac{3\pi}{2}$ (or) $\sin(x) = \frac{1}{4} \Rightarrow x = \sin^{-1}(\frac{1}{4})$

Now, the proper method for finding minima and maxima is to check whether $f''(x) \gt 0$ or $f''(x) \lt 0$, but here as we are required to find both minima and maxima, i will directly put values of x and find out.

When $x = \frac{\pi}{2}$, $f(x) = 1 + (-1) = 0$

When $x = \frac{3\pi}{2}$, $f(x) = \sin(\frac{3\pi}{2}) + \cos(3\pi) = -1 + (-1) = -2$

$\sin(x) = \frac{1}{4}$, $\cos(x) = \frac{\sqrt{15}}{4}$, $\sin(2x) = 2\sin(x)\cos(x) = 2*\frac{1}{4}*\frac{\sqrt{15}}{4} = \frac{\sqrt{15}}{8}$ and $\cos(2x) = \frac{\sqrt{64-15}}{8} = \frac{7}{8}$

When, $x = \sin^{-1}(\frac{1}{4})$, $f(x) = \sin(x) + \cos(2x) = \frac{1}{4} + \frac{7}{8} = \frac{2}{8} + \frac{7}{8} = \frac{9}{8}$

Hence, $\color{navy}{f(x)_{max} = \frac{9}{8}}$ and $\color{navy}{f(x)_{min} = -2}$

answered by Boss (28.3k points)
selected by

Related questions

+2 votes
1 answer
1
asked Oct 6, 2016 in Mathematical Logic by Prateek kumar Loyal (8.3k points) | 134 views
0 votes
1 answer
7
asked Nov 28, 2018 in Calculus by aditi19 Active (3.7k points) | 128 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,539 questions
54,106 answers
187,296 comments
71,017 users