cho \(A=\frac{n-1}{1}+\frac{n-2}{2}+...+\frac{2}{n-2}+\frac{1}{n-1}\) , \(B=\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{n}\) . Tính \(\frac{A}{B}\)
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
![](https://rs.olm.vn/images/avt/0.png?1311)
![](https://rs.olm.vn/images/avt/0.png?1311)
b)
program hotrotinhoc;
var s: real;
i,n: byte;
function t(x: byte): longint;
var j: byte;
t1: longint;
begin
t1:=1;
for j:=1 to x do
t1:=t1*j;
t1:=t;
end;
begin
readln(n);
s:=0;
for i:=1 to n do
s:=s+1/t(i);
write(s:1:2);
readln
end.
c) Đề em ghi sai rồi thế này với đúng :
\(T=1+\frac{2}{2^2}+\frac{3}{3^2}+\frac{4}{4^2}+...+\frac{n}{n^2}\)
program hotrotinhoc;
var t: real;
n,i: byte;
begin
readln(n);
t:=0;
for i:=1 to n do
t:=t+i/(i*i);
write(t:1:2);
readln
end.
![](https://rs.olm.vn/images/avt/0.png?1311)
Bài 1:
a) Sửa lại là: \(3^{n+2}-2^{n+2}+3^n-2^n⋮10\) nhé.
\(3^{n+2}-2^{n+2}+3^n-2^n\)
\(=\left(3^{n+2}+3^n\right)-\left(2^{n+2}+2^n\right)\)
\(=3^n.\left(3^2+1\right)-2^n.\left(2^2+1\right)\)
\(=3^n.\left(9+1\right)-2^n.\left(4+1\right)\)
\(=3^n.\left(9+1\right)-2^{n-1}.2.\left(4+1\right)\)
\(=3^n.10-2^{n-1}.2.5\)
\(=3^n.10-2^{n-1}.10\)
\(=10.\left(3^n-2^{n-1}\right)\)
Vì \(10⋮10\) nên \(10.\left(3^n-2^{n-1}\right)⋮10.\)
\(\Rightarrow3^{n+2}-2^{n+2}+3^n-2^n⋮10\left(đpcm\right)\left(\forall n\in N^X\right).\)
Chúc bạn học tốt!
![](https://rs.olm.vn/images/avt/0.png?1311)
\(A=\frac{1}{3^2}+\frac{1}{3^3}+\frac{1}{3^4}+...+\frac{1}{3^8}+\frac{1}{3^9}\)
\(3A=\frac{1}{3}+\frac{1}{3^2}+\frac{1}{3^3}+...+\frac{1}{3^7}+\frac{1}{3^8}\)
\(3A-A=\frac{1}{3}-\frac{1}{3^9}\)
\(2A=\frac{1}{3}.\left(1-\frac{1}{3^8}\right)\)
\(A=\frac{1}{6}.\left(1-\frac{1}{3^8}\right)\)
\(B=1+\frac{1}{2}+\frac{1}{2^2}+\frac{1}{2^3}+...+\frac{1}{2^{n-1}}+\frac{1}{2^n}\)
\(\frac{1}{2}B=\frac{1}{2}+\frac{1}{2^2}+\frac{1}{2^3}+\frac{1}{2^4}+...+\frac{1}{2^n}+\frac{1}{2^{n+1}}\)
\(B-\frac{1}{2}B=1-\frac{1}{2^{n+1}}\)
\(\frac{1}{2}B=1-\frac{1}{2^{n+1}}\)
\(B=2-\frac{2}{2^n.2}=2-\frac{1}{2^n}\)
![](https://rs.olm.vn/images/avt/0.png?1311)
1) Tính C
\(C=\frac{1}{2!}+\frac{2}{3!}+\frac{3}{4!}+....+\frac{n-1}{n!}\)
\(=\frac{2-1}{2!}+\frac{3-1}{3!}+\frac{4-1}{4!}+...+\frac{n-1}{n!}\)
\(=1-\frac{1}{2!}+\frac{1}{2!}-\frac{1}{3!}+\frac{1}{3!}-\frac{1}{4!}+...+\frac{1}{\left(n-1\right)!}-\frac{1}{n!}\)
\(=1-\frac{1}{n!}\)
3) a) Ta có : \(P=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{199}-\frac{1}{200}\)
\(=1+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{199}+\frac{1}{200}-2\left(\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+...+\frac{1}{200}\right)\)
\(=1+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{199}+\frac{1}{200}-1-\frac{1}{2}-\frac{1}{3}-...-\frac{1}{100}\)
\(=\frac{1}{101}+\frac{1}{102}+....+\frac{1}{199}+\frac{1}{200}\left(đpcm\right)\)
![](https://rs.olm.vn/images/avt/0.png?1311)
1 Tính :
a) \(A=\frac{1}{1.2}-\frac{1}{2.3}-\frac{1}{3.4}-...-\frac{1}{\left(n-1\right).n}\)
\(=\frac{1}{1.2}-\left(\frac{1}{2.3}+\frac{1}{3.4}+...+\frac{1}{\left(n-1\right).n}\right)\)
\(=\frac{1}{2}-\left(\frac{1}{2}-\frac{1}{3}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{n-1}-\frac{1}{n}\right)\)
\(=\frac{1}{2}-\left(\frac{1}{2}-\frac{1}{n}\right)\)
\(=\frac{1}{2}-\frac{1}{2}+\frac{1}{n}\)
\(=\frac{1}{n}\)
b) \(B=\frac{4}{1.5}-\frac{4}{5.9}-\frac{4}{9.13}-...-\frac{4}{\left(n-4\right).n}\)
\(=\frac{4}{1.5}-\left(\frac{4}{5.9}+\frac{4}{9.13}+...+\frac{4}{\left(n-4\right).n}\right)\)
\(=\frac{4}{5}-\left(\frac{1}{5.9}+\frac{1}{9.13}+...+\frac{1}{\left(n-4\right).n}\right)\)
\(=\frac{4}{5}-\left(\frac{1}{5}-\frac{1}{9}+\frac{1}{9}-\frac{1}{13}+...+\frac{1}{n-4}-\frac{1}{n}\right)\)
\(=\frac{4}{5}-\left(\frac{1}{5}-\frac{1}{n}\right)\)
\(=\frac{4}{5}-\frac{1}{5}+\frac{1}{n}\)
\(=\frac{3}{5}+\frac{1}{n}\)
c) \(C=1-\frac{1}{2}-\frac{1}{2^2}-\frac{1}{2^3}-...-\frac{1}{2^{10}}\)
\(=1-\left(\frac{1}{2}+\frac{1}{2^2}+\frac{1}{2^3}+...+\frac{1}{2^{10}}\right)\)
Đặt \(B=\frac{1}{2}+\frac{1}{2^2}+\frac{1}{2^3}+...+\frac{1}{2^{10}}\)
\(\Rightarrow C=1-B\left(1\right)\)
\(\Rightarrow2B=1+\frac{1}{2}+\frac{1}{2^2}+...+\frac{1}{2^9}\)
Lấy 2B trừ B ta có :
\(2B-B=\left(1+\frac{1}{2}+\frac{1}{2^2}+...+\frac{1}{2^9}\right)-\left(\frac{1}{2}+\frac{1}{2^2}+\frac{1}{2^3}+...+\frac{1}{2^{10}}\right)\)
\(B=1-\frac{1}{2^{10}}\left(2\right)\)
Thay (2) vào (1) ta có :
\(C=1-\left(1-\frac{1}{10}\right)\)
\(=1-1+\frac{1}{10}\)
\(=\frac{1}{10}\)
Vậy \(C=\frac{1}{10}\)
![](https://rs.olm.vn/images/avt/0.png?1311)
bài 1) Đặt \(B=\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\)
Ta có: \(A=B.\left(\frac{p}{m-n}+\frac{m}{n-p}+\frac{n}{p-m}\right)=B.\frac{p}{m-n}+B.\frac{m}{n-p}+B.\frac{n}{p-m}\)
\(B.\frac{p}{m-n}=\left(\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\right).\frac{p}{m-n}=\frac{m-n}{p}.\frac{p}{m-n}+\frac{n-p}{m}.\frac{p}{m-n}+\frac{p-m}{n}.\frac{p}{m-n}\)
\(=1+\frac{n-p}{m}.\frac{p}{m-n}+\frac{p-m}{n}.\frac{p}{m-n}=1+\frac{p}{m-n}.\left(\frac{n-p}{m}+\frac{p-m}{n}\right)\)
\(=1+\frac{p}{m-n}.\left[\frac{\left(n-p\right).n}{mn}+\frac{\left(p-m\right).m}{mn}\right]=1+\frac{p}{m-n}.\frac{n^2-np+pm-m^2}{mn}\)
\(=1+\frac{p}{m-n}.\frac{\left(m-n\right).\left(p-m-n\right)}{mn}=1+\frac{p.\left(m-n\right).\left(p-m-n\right)}{\left(m-n\right).mn}=1+\frac{p.\left(p-m-n\right)}{mn}\)
\(=1+\frac{p^2-pm-pn}{mn}=1+\frac{p^2-p.\left(m+n\right)}{mn}\)
Vì m+n+p=0=>m+n=-p
\(=>B.\frac{p}{m-n}=1+\frac{p^2-p.\left(-p\right)}{mn}=1+\frac{2p^2}{mn}=1+\frac{2p^3}{mnp}\left(1\right)\)
\(B.\frac{m}{n-p}=\left(\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\right).\frac{m}{n-p}=\frac{m-n}{p}.\frac{m}{n-p}+\frac{n-p}{m}.\frac{m}{n-p}+\frac{p-m}{n}.\frac{m}{n-p}\)
\(=1+\frac{m-n}{p}.\frac{m}{n-p}+\frac{p-m}{n}.\frac{m}{n-p}=1+\frac{m}{n-p}.\left(\frac{m-n}{p}+\frac{p-m}{n}\right)\)
\(=1+\frac{m}{n-p}.\left[\frac{\left(m-n\right).n}{np}+\frac{\left(p-m\right).p}{np}\right]=1+\frac{m}{n-p}.\frac{mn-n^2+p^2-mp}{np}\)
\(=1+\frac{m}{n-p}.\frac{\left(n-p\right).\left(m-n-p\right)}{np}=1+\frac{m.\left(n-p\right).\left(m-n-p\right)}{\left(n-p\right).np}=1+\frac{m.\left(m-n-p\right)}{np}\)
\(=1+\frac{m^2-mn-mp}{np}=1+\frac{m^2-m\left(n+p\right)}{np}=1+\frac{m^2-m.\left(-m\right)}{np}=1+\frac{2m^2}{np}=1+\frac{2m^3}{mnp}\left(2\right)\) (vì m+n+p=0=>n+p=-m)
\(B.\frac{n}{p-m}=\left(\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\right).\frac{n}{p-m}=\frac{m-n}{p}.\frac{n}{p-m}+\frac{n-p}{m}.\frac{n}{p-m}+\frac{p-m}{n}.\frac{n}{p-m}\)
\(=1+\frac{m-n}{p}.\frac{n}{p-m}+\frac{n-p}{m}.\frac{n}{p-m}=1+\frac{n}{p-m}.\left(\frac{m-n}{p}+\frac{n-p}{m}\right)\)
\(=1+\frac{n}{p-m}.\left[\frac{\left(m-n\right).m}{pm}+\frac{\left(n-p\right).p}{pm}\right]=1+\frac{n}{p-m}.\frac{m^2-mn+np-p^2}{pm}\)
\(=1+\frac{n}{p-m}.\frac{\left(p-m\right).\left(n-p-m\right)}{pm}=1+\frac{n.\left(p-m\right).\left(n-p-m\right)}{\left(p-m\right).pm}=1+\frac{n.\left(n-p-m\right)}{pm}\)
\(=1+\frac{n^2-np-mn}{pm}=1+\frac{n^2-n\left(p+m\right)}{pm}=1+\frac{n^2-n.\left(-n\right)}{pm}=1+\frac{2n^2}{pm}=1+\frac{2n^3}{mnp}\left(3\right)\) (vì m+n+p=0=>p+m=-n)
Từ (1),(2),(3) suy ra :
\(A=B.\frac{p}{m-n}+B.\frac{m}{n-p}+B.\frac{n}{p-m}=\left(1+\frac{2p^3}{mnp}\right)+\left(1+\frac{2m^3}{mnp}\right)+\left(1+\frac{2n^3}{mnp}\right)\)
\(=3+\frac{2p^3}{mnp}+\frac{2m^3}{mnp}+\frac{2n^3}{mnp}=3+\frac{2.\left(m^3+n^3+p^3\right)}{mnp}\)
*Tới đây để tính được m3+n3+p3,ta cần CM được bài toán phụ sau:
Đề: Cho m+n+p=0.CMR: \(m^3+n^3+p^3=3mnp\)
Từ m+n+p=0=>m+n=-p
Ta có: \(m^3+n^3+p^3=\left(m+n\right)^3-3m^2n-3mn^2+p^3=-p^3-3mn\left(m+n\right)+p^3\)
\(=-3mn\left(m+n\right)=-3mn.\left(-p\right)=3mnp\)
Vậy ta đã CM được bài toán phụ
*Trở lại bài toán chính: \(A=3+\frac{2.3mnp}{mnp}=3+\frac{6mnp}{mnp}=3+6=9\)
Vậy A=9
bài 2)
a)Nhận thấy các thừa số của A đều có dạng tổng quát sau:
\(n^3+1=n^3+1^3=\left(n+1\right)\left(n^2-n+1\right)=\left(n+1\right).\left(n^2-n+\frac{1}{4}+\frac{3}{4}\right)\)
\(=\left(n+1\right).\left(n^2-2.n.\frac{1}{2}+\frac{1}{4}+\frac{3}{4}\right)=\left(n+1\right).\left[\left(n-\frac{1}{2}\right)^2+\frac{3}{4}\right]=\left(n+1\right).\left[\left(n-0,5\right)^2+0,75\right]\)
\(n^3-1=n^3-1^3=\left(n-1\right)\left(n^2+n+1\right)=\left(n-1\right).\left(n^2+n+\frac{1}{4}+\frac{3}{4}\right)\)
\(=\left(n-1\right).\left(n^2+2.n.\frac{1}{2}+\frac{1}{4}+\frac{3}{4}\right)=\left(n-1\right).\left[\left(n+\frac{1}{2}\right)^2+\frac{3}{4}\right]=\left(n-1\right).\left[\left(n+0,5\right)^2+0,75\right]\)
suy ra \(\frac{n^3+1}{n^3-1}=\frac{\left(n+1\right).\left[\left(n-0,5\right)^2+0,75\right]}{\left(n-1\right).\left[\left(n+0,5\right)^2+0,75\right]}\)
Do đó: \(\frac{2^3+1}{2^3-1}=\frac{\left(2+1\right).\left[\left(2-0,5\right)^2+0,75\right]}{\left(2-1\right).\left[\left(2+0,5\right)^2+0,75\right]}=\frac{3.\left(1,5^2+0,75\right)}{1.\left(2,5^2+0,75\right)}\)
\(\frac{3^3+1}{3^3-1}=\frac{\left(3+1\right).\left[\left(3-0,5\right)^2+0,75\right]}{\left(3-1\right).\left[\left(3+0,5\right)^2+0,75\right]}=\frac{4.\left(2,5^2+0,75\right)}{2.\left(3,5^2+0,75\right)}\)
...........................
\(\frac{10^3+1}{10^3-1}=\frac{\left(10+1\right).\left[\left(10-0,5\right)^2+0,75\right]}{\left(10-1\right).\left[\left(10+0,5\right)^2+0,75\right]}=\frac{11.\left(9,5^2+0,75\right)}{9.\left(10,5^2+0,75\right)}\)
\(=>A=\frac{3\left(1,5^2+0,75\right).4\left(2,5^2+0,75\right)........11.\left(9,5^2+0,75\right)}{1\left(2,5^2+0,75\right).2.\left(3,5^2+0,75\right)........9\left(10,5^2+0,75\right)}=\frac{3.4........11}{1.2......9}.\frac{1,5^2+0,75}{10,5^2+0,75}\)
\(=\frac{10.11}{2}.\frac{1}{37}=\frac{2036}{37}\)
Vậy A=2036/37
b) có thể ở chỗ 1+1/4 bn nhầm,phải là \(1^4+\frac{1}{4}\) ,mà chắc cũng chẳng sao,vì 14=1 mà
Nhận thấy các thừa số của B có dạng tổng quát:
\(n^4+\frac{1}{4}=n^4+n^2+\frac{1}{4}-n^2=\left(n^2\right)^2+2.n^2.\frac{1}{2}+\frac{1}{4}-n^2=\left(n^2+\frac{1}{2}\right)^2-n^2\)
\(=\left(n^2+\frac{1}{2}-n\right)\left(n^2+\frac{1}{2}+n\right)\)
\(B=\frac{\left(1^2+\frac{1}{2}-1\right).\left(1^2+\frac{1}{2}+1\right).\left(3^2+\frac{1}{2}+3\right).\left(3^2+\frac{1}{2}-3\right)..........\left(9^2+\frac{1}{2}-9\right).\left(9^2+\frac{1}{2}+9\right)}{\left(2^2+\frac{1}{2}-2\right).\left(2^2+\frac{1}{2}+2\right).\left(4^2+\frac{1}{2}-4\right).\left(4^2+\frac{1}{2}+4\right)......\left(10^2+\frac{1}{2}-10\right).\left(10^2+\frac{1}{2}+10\right)}\)
Mặt khác,ta cũng có: \(\left(a+1\right)^2-\left(a+1\right)+\frac{1}{2}=a^2+2a+1-a-1+\frac{1}{2}=a^2+a+\frac{1}{2}\)
Suy ra \(B=\frac{1^2+\frac{1}{2}-1}{10^2+\frac{1}{2}+10}=\frac{1}{221}\)
Vậy B=1/221
Lời giải:
\(A=\frac{n-1}{1}+\frac{n-2}{2}+\frac{n-3}{3}+...+\frac{n-(n-2)}{n-2}+\frac{n-(n-1)}{n-1}\)
\(=\left(\frac{n}{1}+\frac{n}{2}+\frac{n}{3}+....+\frac{n}{n-1}\right)-(\frac{1}{1}+\frac{2}{2}+...+\frac{n-1}{n-1})\)
\(=n-1+n(\frac{1}{2}+\frac{1}{3}+...+\frac{1}{n})-(n-1)=n(\frac{1}{2}+\frac{1}{3}+...+\frac{1}{n})\)
\(=nB\)
Do đó: $\frac{A}{B}=n$