Top Banner
A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-1 Probability, Statistics, and Random Processes for Electrical Engineering Chapter 3: Discrete Random Variables 3.1 The Notion of a Random Variable 3.1 © 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.
61
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-1 Probability, Statistics, and Random Processes for Electrical Engineering

Chapter 3: Discrete Random Variables 3.1 The Notion of a Random Variable

3.1

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 2: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-2 Probability, Statistics, and Random Processes for Electrical Engineering

3.2

3.3

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 3: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-3 Probability, Statistics, and Random Processes for Electrical Engineering

3.4

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 4: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-4 Probability, Statistics, and Random Processes for Electrical Engineering

3.5

3.6

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 5: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-5 Probability, Statistics, and Random Processes for Electrical Engineering

3.7

3.8

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 6: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-6 Probability, Statistics, and Random Processes for Electrical Engineering

3.9

3.10

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 7: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-7 Probability, Statistics, and Random Processes for Electrical Engineering

3.2 Discrete Random Variables And Probability Mass Function

3.11

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 8: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-8 Probability, Statistics, and Random Processes for Electrical Engineering

3.12

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 9: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-9 Probability, Statistics, and Random Processes for Electrical Engineering

3.13

3.14

3.15

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 10: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-10 Probability, Statistics, and Random Processes for Electrical Engineering

3.16

3.17

3.18

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 11: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-11 Probability, Statistics, and Random Processes for Electrical Engineering

3.19

3.20

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 12: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-12 Probability, Statistics, and Random Processes for Electrical Engineering

3.3 Expected Value and Moments of Discrete Random Variable

3.21

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 13: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-13 Probability, Statistics, and Random Processes for Electrical Engineering

3.22

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 14: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-14 Probability, Statistics, and Random Processes for Electrical Engineering

3.23

3.24

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 15: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-15 Probability, Statistics, and Random Processes for Electrical Engineering

3.25

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 16: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-16 Probability, Statistics, and Random Processes for Electrical Engineering

3.26

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 17: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-17 Probability, Statistics, and Random Processes for Electrical Engineering

3.27

3.28

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 18: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-18 Probability, Statistics, and Random Processes for Electrical Engineering

3.29

3.30

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 19: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-19 Probability, Statistics, and Random Processes for Electrical Engineering

3.31

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 20: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-20 Probability, Statistics, and Random Processes for Electrical Engineering

3.31b

3.32

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 21: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-21 Probability, Statistics, and Random Processes for Electrical Engineering

3.33

3.34

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 22: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-22 Probability, Statistics, and Random Processes for Electrical Engineering

3.4 Conditional Probability Mass Function

3.35

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 23: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-23 Probability, Statistics, and Random Processes for Electrical Engineering

3.36

3.37

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 24: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-24 Probability, Statistics, and Random Processes for Electrical Engineering

3.38

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 25: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-25 Probability, Statistics, and Random Processes for Electrical Engineering

3.39

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 26: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-26 Probability, Statistics, and Random Processes for Electrical Engineering

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 27: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-27 Probability, Statistics, and Random Processes for Electrical Engineering

3.40

3.41

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 28: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-28 Probability, Statistics, and Random Processes for Electrical Engineering

3.42

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 29: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-29 Probability, Statistics, and Random Processes for Electrical Engineering

3.43

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 30: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-30 Probability, Statistics, and Random Processes for Electrical Engineering

3.5 Important Discrete Random Variables

3.44

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 31: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-31 Probability, Statistics, and Random Processes for Electrical Engineering

3.45

3.46

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 32: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-32 Probability, Statistics, and Random Processes for Electrical Engineering

3.47

3.48

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 33: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-33 Probability, Statistics, and Random Processes for Electrical Engineering

.

3.49

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 34: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-34 Probability, Statistics, and Random Processes for Electrical Engineering

3.50

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 35: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-35 Probability, Statistics, and Random Processes for Electrical Engineering

3.51

3.52

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 36: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-36 Probability, Statistics, and Random Processes for Electrical Engineering

3.53

3.54

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 37: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-37 Probability, Statistics, and Random Processes for Electrical Engineering

3.55

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 38: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-38 Probability, Statistics, and Random Processes for Electrical Engineering

3.56

3.57

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 39: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-39 Probability, Statistics, and Random Processes for Electrical Engineering

3.58

3.59

3.60

3.61

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 40: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-40 Probability, Statistics, and Random Processes for Electrical Engineering

3.62

3.63

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 41: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-41 Probability, Statistics, and Random Processes for Electrical Engineering

3.64

3.65

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 42: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-42 Probability, Statistics, and Random Processes for Electrical Engineering

3.66

3.67

3.68

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 43: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-43 Probability, Statistics, and Random Processes for Electrical Engineering

3.69

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 44: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-44 Probability, Statistics, and Random Processes for Electrical Engineering

3.70

3.71

3.72

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 45: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-45 Probability, Statistics, and Random Processes for Electrical Engineering

3.73

3.74

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 46: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-46 Probability, Statistics, and Random Processes for Electrical Engineering

3.75

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 47: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-47 Probability, Statistics, and Random Processes for Electrical Engineering

3.76

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 48: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-48 Probability, Statistics, and Random Processes for Electrical Engineering

3.77

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 49: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-49 Probability, Statistics, and Random Processes for Electrical Engineering

3.6 Generation of Discrete Random Variables

The following Octave commands will give the requested plots: x = [0:1:10]; lambda = 0.5; figure; plot(x, poisson_pdf(x, lambda)); figure; plot(x, poisson_cdf(x, lambda)); figure; plot(x, 1-poisson_cdf(x, lambda)); x = [0:1:20]; lambda = 5; figure; plot(x, poisson_pdf(x, lambda)); figure; plot(x, poisson_cdf(x, lambda)); figure; plot(x, 1-poisson_cdf(x, lambda)); x = [0:1:100]; lambda = 50; figure; plot(x, poisson_pdf(x, lambda)); figure; plot(x, poisson_cdf(x, lambda)); figure; plot(x, 1-poisson_cdf(x, lambda));

x = [0:1:15]; figure; plot(x, binomial_pdf(x, 48, 0.1)); figure; plot(x, binomial_cdf(x, 48, 0.1)); figure; plot(x, 1-binomial_cdf(x, 48, 0.1)); x = [0:1:30]; figure; plot(x, binomial_pdf(x, 48, 0.3)); figure; plot(x, binomial_cdf(x, 48, 0.3)); figure; plot(x, 1-binomial_cdf(x, 48, 0.3)); x = [0:1:50]; figure;

3.78

(a)

(b)

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 50: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-50 Probability, Statistics, and Random Processes for Electrical Engineering

plot(x, binomial_pdf(x, 48, 0.5)); figure; plot(x, binomial_cdf(x, 48, 0.5)); figure; plot(x, 1-binomial_cdf(x, 48, 0.5)); x = [20:1:50]; figure; plot(x, binomial_pdf(x, 48, 0.75)); figure; plot(x, binomial_cdf(x, 48, 0.75)); figure; plot(x, 1-binomial_cdf(x, 48, 0.75)); x = [0:1:10]; n = 100; p = 0.01; figure; plot(x, binomial_pdf(x, n, p), "1"); hold on; plot(x, poisson_pdf(x, n*p), "3"); hold off;

(c)

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 51: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-51 Probability, Statistics, and Random Processes for Electrical Engineering

The following Octave commands produce the request plots: L = 10; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; figure; plot(k, discrete_pdf(k, k, pk)); figure; plot(k, discrete_cdf(k, k, pk)); figure; plot(k, 1-discrete_cdf(k, k, pk)); L = 100; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; figure; plot(k, discrete_pdf(k, k, pk)); figure; plot(k, discrete_cdf(k, k, pk)); figure; plot(k, 1-discrete_cdf(k, k, pk)); L = 1000; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; figure; plot(k, discrete_pdf(k, k, pk)); figure; plot(k, discrete_cdf(k, k, pk)); figure; plot(k, 1-discrete_cdf(k, k, pk)); m = 20; k = [1:1:m]; pk = (1/2).^k; figure; semilogy(k, pk);

3.79

(a)

(b)

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 52: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-52 Probability, Statistics, and Random Processes for Electrical Engineering

The following Octave commands will plot the Lorenze curves:

L = 10; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; Wk = k./L; Fk = discrete_cdf(k, k, pk); figure; plot(Fk, Wk); L = 100; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; Wk = k./L; Fk = discrete_cdf(k, k, pk); figure; plot(Fk, Wk); L = 1000; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; Wk = k./L; Fk = discrete_cdf(k, k, pk); figure; plot(Fk, Wk);

3.80

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 53: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-53 Probability, Statistics, and Random Processes for Electrical Engineering

The following Octave commands will plot the requested curves:

figure; hold on; n = 100; p = 0.1; k = [0:1:n]; Wk = zeros(1, n+1); for i = 0:n, v = [0:i]; Wk(i+1) = sum(v.*binomial_pdf(v, n, p))./(n*p); end; Fk = binomial_cdf(k, n, p); plot(Fk, Wk); n = 100; p = 0.5; k = [0:1:n]; Wk = zeros(1, n+1); for i = 0:n, v = [0:i]; Wk(i+1) = sum(v.*binomial_pdf(v, n, p))./(n*p); end; Fk = binomial_cdf(k, n, p); plot(Fk, Wk); n = 100; p = 0.9; k = [0:1:n]; Wk = zeros(1, n+1); for i = 0:n, v = [0:i]; Wk(i+1) = sum(v.*binomial_pdf(v, n, p))./(n*p); end; Fk = binomial_cdf(k, n, p); plot(Fk, Wk);

3.81

3.82

(a)

(b)

(c)

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 54: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-54 Probability, Statistics, and Random Processes for Electrical Engineering

The following Octave commands will generate the requested samples of the Zipf random variable and the requested plots. L = 10; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; Sk = discrete_rnd(200, k, pk); figure; plot(Sk); figure; hist(Sk, k); L = 100; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; Sk = discrete_rnd(200, k, pk); figure; plot(Sk); figure; hist(Sk, k); L = 1000; k = [1:1:L]; cL = sum(1./k); pk = (1/cL)./k; Sk = discrete_rnd(200, k, pk); figure; plot(Sk); figure; hist(Sk, k);

The following Octave commands generate the samples of the St. Peter’s Paradox random variable and the requested plots. m = 20; k = [1:1:m]; pk = (1/2).^k; Sk = discrete_rnd(200, k, pk); figure; plot(Sk); figure; hist(Sk, k);

3.83

3.84

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 55: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-55 Probability, Statistics, and Random Processes for Electrical Engineering

The following Octave commands generate the requested pairs and plots: k = [1:10]; pk = ones(1,10)./10; Sx = discrete_rnd(200, k, pk); Sy = discrete_rnd(200, k, pk); figure; hist(Sx, k); figure; hist(Sy, k); Sz = Sx + Sy; figure; hist(Sz, [2:20]); Sw = Sx .* Sy; figure; hist(Sw, 10); Sv = Sx ./ Sy; figure; hist(Sv, 10);

3.85

(a)

(b)

(c)

(d)

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 56: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-56 Probability, Statistics, and Random Processes for Electrical Engineering

The following Octave comma rate the requested pairs and plots:

Sx = binomial_rnd(8, 0.5, 1, 200); Sy = binomial_rnd(4, 0.5, 1, 200); figure; hist(Sx, [0:8]); figure; hist(Sy, [0:4]); Sz = Sx + Sy; figure; hist(Sz, [0:12]);

3.86 nds gene

(a)

(b)

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 57: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-57 Probability, Statistics, and Random Processes for Electrical Engineering

The following Octave commands generate the requested pairs and plots: Sx = poisson_rnd(5, 1, 200); Sy = poisson_rnd(10, 1, 200); figure; hist(Sx, [0:15]); figure; hist(Sy, [0:20]); Sz = Sx + Sy; figure; hist(Sz, [0:35]);

3.87

(a)

(b)

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 58: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-58 Probability, Statistics, and Random Processes for Electrical Engineering

Problems Requiring Cumulative Knowledge

3.88

3.89

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 59: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-59 Probability, Statistics, and Random Processes for Electrical Engineering

3.90

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 60: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-60 Probability, Statistics, and Random Processes for Electrical Engineering

3.91

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 61: xyz

A. Leon-Garcia INSTRUCTOR’S SOLUTIONS MANUAL 3-61 Probability, Statistics, and Random Processes for Electrical Engineering

3.92

© 2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved.This material is is protected by Copyright and written permission

should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to:

Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.